% Copyright (C) 2018, 2019 by Xiangdong Zeng <xdzeng96@gmail.com>

\input{regression-test}

\ExplSyntaxOn
\debug_on:n { check-declarations }
\ExplSyntaxOff

\def\MAKECOVERFALSE{%
  \fdusetup{style/auto-make-cover = false}}

\def\DEFAULTSETUP{%
  \fdusetup{
    info = {
      title = {这是一个论文标题},
      title* = {This is a Thesis Title},
      date = {2019 年 1 月 1 日},
      author = {某某},
      supervisor = {某某某\quad 教授},
      major = {物理学},
      department = {物理系},
      student-id = {12300000000},
      instructors = {
        {张\quad 三 \quad 教\quad 授},
        {王五六     \quad 教\quad 授},
        {李\quad 四 \quad 副教授}
      },
      keywords = {关键词一, 关键词二, 关键词三},
      keywords* = {Keyword 1, keyword 2, keyword 3},
      clc = {TS803.23}
    }
  }
}

% To skip log for font setup, PDF strings etc.
\ExplSyntaxOn
\cs_set:Npn \EMPTYPAGE
{
  \clist_map_inline:nn
    { \normalfont, \sffamily, \ttfamily, \bfseries, \itshape }
    { \mbox { ##1 X ~ 字} ~ }
  \clist_map_inline:nn
    {
      \tiny, \scriptsize, \footnotesize, \small, \normalsize,
      \large, \Large, \LARGE, \huge, \HUGE
    }
    { \mbox { ##1 $\sin x^{x^x}$ } ~ }
  \newpage
}
\ExplSyntaxOff

% For testing entire page.
\def\COMPLETEPAGE{\vfil\break}

\def\CHECKCOMPILATION{%
  \TYPE{Checking compilation. No log file data expected.}}
